package com.bazaaroid.server.gae.core.dto.partner;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.bazaaroid.server.gae.core.persistence.model.partner.Address;

@XmlRootElement(name = "Address")
public class AddressDTO {

	private Address address = null;

	public AddressDTO(){}

	public AddressDTO(Address address) {
		this.address = address;
	}

	@XmlElement
	public String getStreet() {
		return address.getStreet();
	}

	@XmlElement
	public String getNumber() {
		return address.getNumber();
	}

	@XmlElement
	public String getPostalCode() {
		return address.getPostalCode();
	}

	@XmlElement
	public String getTownship() {
		return address.getTownship();
	}

	@XmlElement
	public String getCity() {
		return address.getCity();
	}

	@XmlElement
	public String getCountry() {
		return address.getCountry();
	}

	@XmlElement
	public String getState() {
		return address.getState();
	}
}
